/*
 * @Author: egg1bro
 * @Date: 2023-01-03 11:22:06
 * @LastEditTime: 2023-01-13 16:55:10
 * @LastEditors: egg1bro
 * @Description: 
 * @FilePath: \team-design-backend\routes\login.js
 * 可以输入预定的版权声明、个性签名、空行等
 */
const express = require('express')

const router = express.Router()

// 导入controller
const loginController = require('../controller/login')

router.post('/login', loginController.login)

router.post('/register', loginController.register)

router.post('/addName', loginController.addName)

router.get('/getSms', loginController.getSms)

router.post('/verifySmsToLogin', loginController.verifySmsToLogin)

module.exports = router